<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head profile="http://gmpg.org/xfn/11">
	<?php 
	$this->headLink()->appendStylesheet($this->baseUrl().'/public/templates/quay/layout.css')
                        ->appendStylesheet($this->baseUrl().'/public/templates/quay/addons.css')
                        ->appendStylesheet($this->baseUrl().'/public/templates/quay/modules_styles.css')
                        ->appendStylesheet($this->baseUrl().'/public/templates/quay/template.css')
                        ->appendStylesheet($this->baseUrl().'/public/templates/quay/suckerfish.css')
                        ->appendStylesheet($this->baseUrl().'/public/templates/quay/gk_stuff.css')
                        ->appendStylesheet($this->baseUrl().'/public/templates/quay/jomsocial.css')
                        ->appendStylesheet($this->baseUrl().'/public/templates/quay/typography.css')
                        ->appendStylesheet($this->baseUrl().'/public/templates/quay/ranking.css')
                        ->appendStylesheet($this->baseUrl().'/public/templates/quay/style1.css')
                        ->appendStylesheet($this->baseUrl().'/public/templates/quay/slider.css');
	echo $this->headLink();	
	$this->headScript()->appendFile($this->baseUrl().'/public/js/jquery-1.4min.js', 'text/javascript')
                            ->appendFile($this->baseUrl().'/public/js/nhk_ajax.js', 'text/javascript')
                            ->appendFile($this->baseUrl().'/public/templates/quay/mootools.js', 'text/javascript')
                            ->appendFile($this->baseUrl().'/public/templates/quay/engine.js', 'text/javascript')//chuyen hot, xuot top    	
                            ->appendFile($this->baseUrl().'/public/templates/quay/engine_slider.js', 'text/javascript')//chuyen hot, xuot top    	
                            ->appendFile($this->baseUrl().'/public/templates/quay/menu.php', 'text/javascript')
                            ->appendFile($this->baseUrl().'/public/templates/quay/importer.js', 'text/javascript')////menu tren cung    					
                            ;   
	$this->headMeta()->appendHttpEquiv('Content-Type', 'text/html;charset=utf-8');
	$this->headMeta()->appendName('google-site-verification', "cE1ukf8IRD99jfUJVSHvqgEQhUasXudjUIvZ7CuRP8Q");
	echo $this->headMeta();
	echo $this->headScript();
	echo $this->headTitle();
	?>
        <link rel="icon" href="<?php echo SITE_URL;?>/favicon.ico" type="image/x-icon"/>
	<link rel="shortcut icon" href="<?php echo SITE_URL;?>/favicon.ico" type="image/x-icon" title ="<?php echo SITE_TITLE;?>"/>
	<link rel="image_src" href="<?php echo SITE_URL.'/public/images/top_game_img/angry-birds-space.jpg';?>" />
	<meta property="og:image" content="<?php echo SITE_URL.'/public/images/top_game_img/angry-birds-space.jpg';?>"/>
	<meta property="og:site_name" content="<?php echo SITE_TITLE;?>"/>
	<style type="text/css">
		.template_width { width:1024px; }
		#gk_wrapper     { width:1024px; }
		#gk_mainbody    { margin: 0px 26px 0px 26px;padding:0;border-width:0;}
		#gk_left        { width:0px; }
		#gk_right       { width:207px;margin: 0px 10px 10px 0px;padding:0;border-width:0; }
		#left_one       { width:0px; }
		#left_two       { width:100%; }
		#right_one      { width:94px;margin: 0px 12px 0px 0px;padding:0;border-width:0; }
		#right_two      { width:194px;margin:0;padding:0;border-width:0; }
		#inset_left     { width:0px;margin: 0px 12px 0px 0px;padding:0;border-width:0; }
		#inset_right    { width:170px;margin: 0px 0px 0px 12px;padding:0;border-width:0; }
		#gk_content     { width: 728px;margin: 0px 10px;padding:0;border-width:0; }
		#gk_current     { width:392px;margin: 0px 0px 12px 0px;padding:0;border-width:0; }
		#gk_bottom      { margin: 20px 26px 0px 26px;padding:0;border-width:0; }
		#gk_bottom1     { margin:0;padding:0;border-width: 1px 0px 0px 0px; }
		#gk_bottom2     { margin:0;padding:0;border-width:0; }
		#gk_footer     { margin: 0px 29px 120px 29px;padding:0;border-width:0; }
			
		body {
			font-family: Arial, Helvetica, sans-serif;
		}

		div.moduletable h3, 
		div.moduletable_menu h3, 
		div.moduletable_text h3, 
		div.moduletable_ver1 h3, 
		div.moduletable_ver2 h3, 
		div.moduletable_ver3 h3, 
		#community-wrap .app-box-title,
		h1.componentheading, .componentheading, 
		a#joinButton {
			font-family:"Myriad Pro", Arial, sans-serif;
		}	body{font-size:62.5%;}
	</style>
        <script type="text/javascript">

        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-25243536-1']);
        _gaq.push(['_setDomainName', 'gameangrybirds.com']);
        _gaq.push(['_trackPageview']);

        (function() {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();

        </script>
        <script>(function(d, s, id) {
            var js, fjs = d.getElementsByTagName(s)[0];
            if (d.getElementById(id)) {return;}
            js = d.createElement(s); js.id = id;
            js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
            fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));
        </script>
</head>
<body>
	<div id="gk_wrapper">
		<div id="gk_header">
			<div class="menu_m">
				<div class="menu_l">
					<div class="menu_r clearfix">
						<a href="<?php echo SITE_URL;?>" id="logo" title ="<?php echo SITE_TITLE;?>">
							<img src="<?php echo $this->baseUrl().'/public/templates/quay/images/logo.jpg';?>" title ="<?php echo SITE_TITLE;?>"  alt="<?php echo SITE_TITLE;?>" height="50" width="280"/>
						</a>
						<?php echo $this->blkTopMenu(0);?>
                                        </div>
				</div>
			</div>
		</div>
		
		<!-- Khung main chinh -->
		<div id="gk_mainbody" class="right_column clearfix">
			<!-- corner top main -->
			<div class="corners">
				<div class="corner_tl">
				</div>
				<div class="corner_tr">
				</div>
			</div>
			<!-- Top addon -->
			<div class="top_addons">
				<div class="top_addons_tl">
					<div class="top_addons_tr clearfix">
						<div id="breadcrumb">
							<div class="gk_js_stats_main" id="gk_js_stats1">
								<div class="gk_js_breadcrumbs">
									<a href="<?php echo SITE_URL;?>" title ="<?php echo SITE_TITLE;?>" class="gk_js_groupname"><?php echo SITE_TITLE;?></a>
									<a href="<?php echo SITE_URL.'/cat.html';?>"title = "<?php echo SITE_TITLE;?>" class="gk_js_viewgroups">View all categories</a>
								</div>
								<?php echo $this->blkCountUser();?>
							</div>
						</div>
						<div id="search">
							<form action=<?php echo $this->baseUrl().'/front/games/search/';?> method="get">
								<div class="search">
									<input name="kw" id="mod_search_searchword" maxlength="20" alt="Search" class="inputbox" type="text" size="20" value="search..." onblur="if(this.value==&#39;&#39;) this.value=&#39;search...&#39;;" onfocus="if(this.value==&#39;search...&#39;) this.value=&#39;&#39;;"/>	
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
			<!-- Main -->
			<div id="gk_mainbody_wrap" class="clearfix">
				<div style="width: 950px; float: left; padding-left: 10px; padding-bottom:0px; padding-top: 5px; margin: 0; border-width: 0;">
					<div class="moduletable _badge b-popular">
						<div class="gk_round_t">
							<div class="gk_round_tl"></div>
							<div class="gk_round_tr"></div>
						</div>
					
						<div class="gk_round_m">
							<div class="gk_round_ml">																		
                                                            <div class="moduletable_content clearfix">											
                                                                <?php echo $this->blkSliderHotGame();?>
                                                            </div>
							</div>
						</div>
					
						<div class="gk_round_b">
							<div class="gk_round_bl"></div>
							<div class="gk_round_br"></div>
						</div>
					</div>
				</div>
				<!-- cot ben trai -->
				<div id="gk_content" class="clearfix">
					<div id="content_top" class="clear">
						<div class="module_wrap clear">
							<?php echo $this->layout()->content;?>	
						</div>
					</div>			
				</div>
				<!-- het cot ben phai -->
				<!-- cot ben phai -->
				<div id="gk_right" class="column">
					<div id="gk_right_wrap">
			
						<div id="right_bottom" class="clear">
							<?php //echo $this->blkNewestNews();?>	
							
							<?php 
							//echo $this->blkCategoriesAngryBirds();
                                                        echo $this->blkTopRank(10);
							echo $this->blkLikeBox();
							echo $this->blkMenu(100,true);
							//echo $this->blkAdv();
							?>
						</div>
					</div>
				</div>
				<!-- het cot ben phai -->
			</div>
			<!-- het Main -->
                        <!-- Corner botton main -->
			<div class="corners cbottom">
				<div class="corner_bl">
				</div>
				<div class="corner_br">
				</div>
			</div>
		</div>
		
		<div style="height: 10px;"></div>
		
		<?php echo $this->blkBottom();?>			
	</div>

</body>
</html>
